
const mongoose = require('mongoose')

const Scheme = mongoose.Schema

const RightType = {
    "title": String,
    "path": String,
    "icon": String,
    "children": Array
}

const RightModel = mongoose.model('right', new Scheme(RightType))

module.exports = RightModel